package com.seckill.service;

import com.seckill.model.dto.OrderDTO;

/**
 * @author lill
 * @date 2019/06/24
 */
public interface OrderService {

    /**
     * 创建订单
     *
     * @param userId
     * @param itemId
     * @param promoId
     * @param amount
     * @param stockLogId
     * @return
     */
    OrderDTO createOrder(Integer userId, Integer itemId, Integer promoId, Integer amount,String stockLogId);


}
